package com.certificationManager.client.presenter;

import java.util.Date;

import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.HorizontalPanel;

/**
 * @author Benjamin Barbier
 *
 */
public class Footer extends HorizontalPanel {

	/** Fields */
	@SuppressWarnings("deprecation")
	final HTML footer = new HTML("<p>Certification Manager<br />Copyright © 2005-"+(new Date().getYear()+1900)+". All Rights Reserved.</p>");
	
	public Footer() {
		this.add(footer);
		this.setSyle();
	}
	
	private void setSyle() {
		this.setWidth("100%");
		this.setHeight("50px");
		footer.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
	}
	
}
